home *** CD-ROM | disk | FTP | other *** search
/ Freelog 117 / FreelogNo117-OctobreNovembre2013.iso / Programmation / jedit / jedit5.1.0install.exe / {app} / modes / aspect-j.xml < prev    next >
Extensible Markup Language  |  2013-07-28  |  6KB  |  168 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!DOCTYPE MODE SYSTEM "xmode.dtd">
  4.  
  5. <MODE>
  6.         <PROPS>
  7.                 <PROPERTY NAME="indentOpenBrackets" VALUE="{" />
  8.                 <PROPERTY NAME="indentCloseBrackets" VALUE="}" />
  9.                 <PROPERTY NAME="indentPrevLine"
  10.                         VALUE="\s*(((if|while)\s*\(|else\s*|else\s+if\s*\(|for\s*\(.*\))[^{;]*)" />
  11.                 <!-- set this to 'true' if you want to use GNU coding style -->
  12.                 <PROPERTY NAME="doubleBracketIndent" VALUE="false" />
  13.                 <PROPERTY NAME="commentStart" VALUE="/*" />
  14.                 <PROPERTY NAME="commentEnd" VALUE="*/" />
  15.                 <PROPERTY NAME="lineComment" VALUE="//" />
  16.                 <PROPERTY NAME="wordBreakChars" VALUE=",+-=<>/?^&*" />
  17.         </PROPS>
  18.         <RULES IGNORE_CASE="FALSE"
  19.                 HIGHLIGHT_DIGITS="TRUE"
  20.                 DIGIT_RE="(0x)?[\p{XDigit}]+[lLdDfF]?">
  21.  
  22.                 <!-- Silly comment -->
  23.                 <SEQ TYPE="COMMENT1">/**/</SEQ>
  24.  
  25.                 <!-- Javadoc comment -->
  26.                 <SPAN TYPE="COMMENT3" DELEGATE="java::JAVADOC">
  27.                         <BEGIN>/**</BEGIN>
  28.                         <END>*/</END>
  29.                 </SPAN>
  30.  
  31.                 <!-- Java comment (C style) -->
  32.                 <SPAN TYPE="COMMENT1">
  33.                         <BEGIN>/*</BEGIN>
  34.                         <END>*/</END>
  35.                 </SPAN>
  36.  
  37.                 <SPAN TYPE="LITERAL1" ESCAPE="\" NO_LINE_BREAK="TRUE">
  38.                         <BEGIN>"</BEGIN>
  39.                         <END>"</END>
  40.                 </SPAN>
  41.                 <SPAN TYPE="LITERAL1" ESCAPE="\" NO_LINE_BREAK="TRUE">
  42.                         <BEGIN>'</BEGIN>
  43.                         <END>'</END>
  44.                 </SPAN>
  45.  
  46.                 <EOL_SPAN TYPE="COMMENT2">//</EOL_SPAN>
  47.  
  48.                 <SEQ TYPE="OPERATOR">=</SEQ>
  49.                 <SEQ TYPE="OPERATOR">!</SEQ>
  50.                 <SEQ TYPE="OPERATOR">>=</SEQ>
  51.                 <SEQ TYPE="OPERATOR"><=</SEQ>
  52.                 <SEQ TYPE="OPERATOR">+</SEQ>
  53.                 <SEQ TYPE="OPERATOR">-</SEQ>
  54.                 <SEQ TYPE="OPERATOR">/</SEQ>
  55.  
  56.                 <!-- workaround to stop "*" from being colorized
  57.                      in import statements. -->
  58.                 <SEQ TYPE="NULL">.*</SEQ>
  59.  
  60.                 <SEQ TYPE="OPERATOR">*</SEQ>
  61.                 <SEQ TYPE="OPERATOR">></SEQ>
  62.                 <SEQ TYPE="OPERATOR"><</SEQ>
  63.                 <SEQ TYPE="OPERATOR">%</SEQ>
  64.                 <SEQ TYPE="OPERATOR">&</SEQ>
  65.                 <SEQ TYPE="OPERATOR">|</SEQ>
  66.                 <SEQ TYPE="OPERATOR">^</SEQ>
  67.                 <SEQ TYPE="OPERATOR">~</SEQ>
  68.                 <SEQ TYPE="OPERATOR">}</SEQ>
  69.                 <SEQ TYPE="OPERATOR">{</SEQ>
  70.                 <MARK_PREVIOUS TYPE="LABEL" MATCH_TYPE="OPERATOR"
  71.                         AT_WHITESPACE_END="TRUE">:</MARK_PREVIOUS>
  72.  
  73.                 <!-- Function calls -->
  74.                 <MARK_PREVIOUS TYPE="FUNCTION" MATCH_TYPE="OPERATOR">(</MARK_PREVIOUS>
  75.                 <SEQ TYPE="OPERATOR">)</SEQ>
  76.  
  77.                 <KEYWORDS>
  78.                         <KEYWORD1>abstract</KEYWORD1>
  79.                         <KEYWORD1>break</KEYWORD1>
  80.                         <KEYWORD1>case</KEYWORD1>
  81.                         <KEYWORD1>catch</KEYWORD1>
  82.                         <KEYWORD1>continue</KEYWORD1>
  83.                         <KEYWORD1>default</KEYWORD1>
  84.                         <KEYWORD1>do</KEYWORD1>
  85.                         <KEYWORD1>else</KEYWORD1>
  86.                         <KEYWORD1>extends</KEYWORD1>
  87.                         <KEYWORD1>final</KEYWORD1>
  88.                         <KEYWORD1>finally</KEYWORD1>
  89.                         <KEYWORD1>for</KEYWORD1>
  90.                         <KEYWORD1>if</KEYWORD1>
  91.                         <KEYWORD1>implements</KEYWORD1>
  92.                         <KEYWORD1>instanceof</KEYWORD1>
  93.                         <KEYWORD1>native</KEYWORD1>
  94.                         <KEYWORD1>new</KEYWORD1>
  95.                         <KEYWORD1>private</KEYWORD1>
  96.                         <KEYWORD1>protected</KEYWORD1>
  97.                         <KEYWORD1>public</KEYWORD1>
  98.                         <KEYWORD1>return</KEYWORD1>
  99.                         <KEYWORD1>static</KEYWORD1>
  100.                         <KEYWORD1>switch</KEYWORD1>
  101.                         <KEYWORD1>synchronized</KEYWORD1>
  102.                         <KEYWORD1>throw</KEYWORD1>
  103.                         <KEYWORD1>throws</KEYWORD1>
  104.                         <KEYWORD1>transient</KEYWORD1>
  105.                         <KEYWORD1>try</KEYWORD1>
  106.                         <KEYWORD1>volatile</KEYWORD1>
  107.                         <KEYWORD1>while</KEYWORD1>
  108.  
  109.                         <KEYWORD2>package</KEYWORD2>
  110.                         <KEYWORD2>import</KEYWORD2>
  111.  
  112.                         <KEYWORD3>boolean</KEYWORD3>
  113.                         <KEYWORD3>byte</KEYWORD3>
  114.                         <KEYWORD3>char</KEYWORD3>
  115.                         <KEYWORD3>class</KEYWORD3>
  116.                         <KEYWORD3>double</KEYWORD3>
  117.                         <KEYWORD3>float</KEYWORD3>
  118.                         <KEYWORD3>int</KEYWORD3>
  119.                         <KEYWORD3>interface</KEYWORD3>
  120.                         <KEYWORD3>long</KEYWORD3>
  121.                         <KEYWORD3>short</KEYWORD3>
  122.                         <KEYWORD3>void</KEYWORD3>
  123.  
  124.                         <FUNCTION>assert</FUNCTION>
  125.                         <KEYWORD1>strictfp</KEYWORD1>
  126.  
  127.                         <LITERAL2>false</LITERAL2>
  128.                         <LITERAL2>null</LITERAL2>
  129.                         <LITERAL2>super</LITERAL2>
  130.                         <LITERAL2>this</LITERAL2>
  131.                         <LITERAL2>true</LITERAL2>
  132.  
  133.                         <INVALID>goto</INVALID>
  134.                         <INVALID>const</INVALID>
  135.  
  136.                         <KEYWORD4>args</KEYWORD4>
  137.                         <KEYWORD4>percflow</KEYWORD4>
  138.                         <KEYWORD4>get</KEYWORD4>
  139.                         <KEYWORD4>set</KEYWORD4>
  140.                         <KEYWORD4>preinitialization</KEYWORD4>
  141.                         <KEYWORD4>handler</KEYWORD4>
  142.                         <KEYWORD4>adviceexecution</KEYWORD4>
  143.                         <KEYWORD4>cflow</KEYWORD4>
  144.                         <KEYWORD4>target</KEYWORD4>
  145.                         <KEYWORD4>cflowbelow</KEYWORD4>
  146.                         <KEYWORD4>withincode</KEYWORD4>
  147.                         <KEYWORD4>declare</KEYWORD4>
  148.                         <KEYWORD4>precedence</KEYWORD4>
  149.                         <KEYWORD4>issingleton</KEYWORD4>
  150.                         <KEYWORD4>perthis</KEYWORD4>
  151.                         <KEYWORD4>pertarget</KEYWORD4>
  152.                         <KEYWORD4>privileged</KEYWORD4>
  153.                         <KEYWORD4>after</KEYWORD4>
  154.                         <KEYWORD4>around</KEYWORD4>
  155.                         <KEYWORD4>aspect</KEYWORD4>
  156.                         <KEYWORD4>before</KEYWORD4>
  157.                         <KEYWORD4>call</KEYWORD4>
  158.                         <KEYWORD4>execution</KEYWORD4>
  159.                         <KEYWORD4>initialization</KEYWORD4>
  160.                         <KEYWORD4>pointcut</KEYWORD4>
  161.                         <KEYWORD4>proceed</KEYWORD4>
  162.                         <KEYWORD4>staticinitialization</KEYWORD4>
  163.                         <KEYWORD4>within</KEYWORD4>
  164.                         <KEYWORD4>..</KEYWORD4>
  165.                 </KEYWORDS>
  166.         </RULES>
  167. </MODE>
  168.